*{
    padding: 0;
    margin: 0;
    border: 0;
    font-family: "montserrat",sans-serif;
}

body {
    background-color: #e9e9e9;
}

.back_btn {
    height: 30px;
    background-color: #ed2553;
    border-radius: 5px;
    width: 90px;
    color: #fff;
    border: 1px solid #ed2553;
    margin: 10px 0;
}

#lastest {
    width: 450px;
    height: 100px;
    border: 1px solid #fafafa;
    background-color: #4c4c4c;
    border-radius: 10px;
    position: relative;
}

#login_box {
    width: 480px;
    height: 550px;
    border: 1px solid #fff;
    background-color: #fff;
    border-radius: 10px;
    position: absolute;
    top: 10px;
    left: -15px;
}

#login_title {
    margin-top: 50px;
    border-left: 5px solid #ed2553;
    padding-left: 50px;
    color: #ed2553;
}

.input_container {
    position: relative;
    margin: 0 60px 50px;
}


.input_container input {
    outline: none;
    z-index: 1;
    position: relative;
    background: none;
    width: 100%;
    height: 60px;
    border: 0;
    color: #212121;
    font-size: 24px;
    font-weight: 400;

}

.input_container input:focus~.bar::before {
    width: 50%;
}

.input_container input:focus~.bar::after {
    width: 50%;
}

.input_container label {
    position: absolute;
    top: 0;
    left: 0;
    color: #757575;
    font-size: 24px;
    font-weight: 300;
    line-height: 60px;
    transition: 0.2s ease;
}

.input_container .bar {
    position: absolute;
    left: 0;
    bottom: 0;
    background: #757575;
    width: 100%;
    height: 1px;
}

.input_container .bar::before {
    left: 50%;
}

.input_container .bar::after {
    right: 50%;
}

.input_container .bar::before,
.input_container .bar::after {
    content: "";
    position: absolute;
    background: #ed2553;
    width: 0;
    height: 2px;
    transition: 0.2s ease;
}

#input_code {
    width: 50%;
}

.button_container {
    margin: 0 60px;
    text-align: center;
}

.button_container button {
    outline: 0;
    cursor: pointer;
    position: relative;
    display: inline-block;
    background: 0;
    width: 240px;
    border: 2px solid #e3e3e3;
    padding: 20px 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    overflow: hidden;
    transition: 0.5s ease;
}

.button_container button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    background: #ed2553;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    margin: -15px 0 0 -15px;
    opacity: 0;
    transition: 0.5s ease;
}



.button_container button span {
    position: relative;
    z-index: 1;
    color: #ddd;
    transition: 0.3s ease;
}


.button_container button:active {
    border-color: #ed2553
}

.button_container button:hover {
    border-color: #ed2553;
}

.button_container button:focus {
    border-color: #ed2553;
}

.button_container button:active span {
    color: #ed2553
}

.button_container button:focus span {
    color: #ed2553;
}

.button_container button:hover span {
    color: #ed2553;
}

.button_container button:active::before {
    opacity: 1;
    transform: scale(10);
}

.button_container button:focus::before {
    opacity: 1;
    transform: scale(10);
}

.button_container button:active span {
    color: #fff;
}

.button_container button:focus span {
    color: #fff;
}


.show_register_btn {
    height: 140px;
    width: 140px;
    border: #ed2553 1px solid;
    background-color: #ed2553;
    position: absolute;
    right: -90px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    top: 15px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgb(0 0 0 / 12%), 0 1px 2px rgb(0 0 0 / 24%);
    transition: 0.5s ease;
    transform: scale(1);
    flex-direction: column;
}
.show_register_btn span {
    font-size: 8px;
    color: #fff;
}

.show_register_btn img {
    width: 60%;
}

#register_box {
    width: 500px;
    height: 620px;
    background-color: #ed2553;
    position: absolute;
    top: 20px;
    left: -25px;
    border-radius: 10px;
    z-index: 1000;
    padding-top: 50px;
    transition: .5s ease;
    overflow: hidden;
    transform: scale(0);
}

#register_title {
    color: #fff;
    padding-left: 50px;
    border-left: 5px solid;
}

.close {
    cursor: pointer;
    position: absolute;
    top: 50px;
    right: 50px;
    display: inline;
    color: #ffffff;
    font-size: 58px;
    font-weight: 400;
}

.close::before {
    content: "×";
}

.register_inputs label {
    color: #fbd3dd;
}

#re_input_code {
    width: 50%;
}

.input_container .re_bar {
    position: absolute;
    left: 0;
    bottom: 0;
    background: #fff;
    width: 100%;
    height: 1px;
}

.input_container .re_bar::before {
    left: 50%;
}

.input_container .re_bar::after {
    right: 50%;
}

.input_container .re_bar::before,
.input_container .re_bar::after {
    content: "";
    position: absolute;
    background: #fff;
    width: 0;
    height: 2px;
    transition: 0.2s ease;
}

.input_container input:focus~.re_bar::before {
    width: 50%;
}

.input_container input:focus~.re_bar::after {
    width: 50%;
}

#re_form_submit {
    background: #fff;
    width: 100%;
}

#re_form_submit span {
    color: #ed2553;
}

.button_container #re_form_submit:active {
    border-color: #fff
}

.button_container #re_form_submit:hover {
    border-color: #fff;
}

.button_container #re_form_submit:focus {
    border-color: #fff;
}

.button_container #re_form_submit:active span {
    color: #ed2553
}

.button_container #re_form_submit:focus span {
    color: #ed2553;
}

.button_container #re_form_submit:hover span {
    color: #ed2553;
}

.button_container #re_form_submit:active::before {
    opacity: 1;
    transform: scale(20);
}

.button_container #re_form_submit:focus::before {
    opacity: 1;
    transform: scale(20);
}

.button_container #re_form_submit:active span {
    color: #fff;
}

.button_container #re_form_submit:focus span {
    color: #fff;
}

#lastest.active .show_register_btn {
    transition: 0.5s ease;
    transform: scale(0);
    width: 0;
    height: 0;
    overflow: hidden;
}

#lastest.active #register_box {
    top: 20px;
    width: 500px;
    right: 0;
    min-width: 500px;
    height: auto;
    border-radius: 10px;
    transition: 0.5s ease;
    transform: scale(1);
}

#container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    transition: .5s ease;
}
